package com.tim.framework.util;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestBean {
	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext(
				"classpath:applicationContext.xml");
		ConfigurationHelper configHepler = (ConfigurationHelper) context
				.getBean("configurationHelper");
		System.out.println(configHepler.getProperty("tim.testLabel",
				new Object[] { "userName", "6", "22" }));
	}
}
